package com.yunwaikeji.gy_tool_library.utils.picture.selector;

import android.os.Bundle;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

public abstract class GYPictureBaseActivity extends AppCompatActivity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(getContentView());
        initView(savedInstanceState);
        initData(savedInstanceState);
    }

    public abstract int getContentView();

    public abstract void initView(Bundle savedInstanceState);

    public abstract void initData(Bundle savedInstanceState);
}
